<?php

namespace app\model;

use think\Model;

class OrderLog extends Model
{
    public function user()
    {
        return $this->hasOne('User','id','uid');
    }

    public function goods()
    {
        return $this->hasOne('Goods','id','goods_id');
    }
}
